package com.dragon.mmochat.message;

import com.dragon.mmochat.MmochatConstant;
import com.skymobi.buffer.SkymobiBuffer;
import com.skymobi.message.SkymobiProtocolMessage;

public class Mmochat_6_12C extends SkymobiProtocolMessage {
	int hallState;
	int roleId;
	int quickStartValue;
	int version;

	public Mmochat_6_12C() {
		setMsgCode(MmochatConstant.MSGCODE_MMOCHAT_C_6_12);
	}

	@Override
	protected void decodeBody(SkymobiBuffer in) {
		hallState = in.getUnsignedShort();
		roleId = in.getInt();
		quickStartValue = in.getInt();
		version = in.getInt();
	}

	public int getHallState() {
		return hallState;
	}

	public int getRoleId() {
		return roleId;
	}

	public int getQuickStartValue() {
		return quickStartValue;
	}

	public int getVersion() {
		return version;
	}

}